﻿<%@ Page Language="C#" AutoEventWireup="true"  CodeFile="Default.aspx.cs" Inherits="_Default" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>济宁医学院-网站评比活动首页</title>
<link href="./styles/layout.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="script/jquery-1.9.0.js"></script>
    <script type="text/javascript">
        $(document).ready(function () {
            $('#mark').click(function () {
                window.location.href = "./Mark.aspx";
            });
        });
    </script>
</head>

<body>
<div class="top">

</div><!--top end-->

<div class="content">
    <div class="article_title">
       <h2>评比结果</h2>
    </div>
    
    <div class="countShow">
    <img id="mark" src="images/button.png" />&nbsp;&nbsp;&nbsp;&nbsp;现在已经有<font color="red"> <%= userCounter %> </font>人参与评分。
    </div>
    
    <div class="area_content">
 
        <asp:Repeater ID="ResultRepeater" runat="server">
            <HeaderTemplate>
                <div id="result_table">                                         
            </HeaderTemplate>
            <ItemTemplate>
                <div class="article_item">
                    <span class="order_tip">编号:</span>
                    <span class="order_num"><%#Eval("id")%></span>
                    <span class="article_name_tip">译文:</span>
                    <span class="article_name"><a href="./article0<%#Eval("id")%>.html" target="_blank"><%#Eval("name")%></a></span>
                    <span class="student_score_tip">学生得分:</span>
                    <span class="student_score"><%#Eval("studentscore", "{0:f2}")%></span>
                    <span class="teacher_score_tip">教师得分:</span>
                    <span class="teacher_score"><%#Eval("teacherscore", "{0:f2}")%></span>
                </div>
            </ItemTemplate>
            <FooterTemplate>
            <div style="clear:both;"></div>
                </div>                
            </FooterTemplate>
        </asp:Repeater>
    </div>
</div><!--content end-->

<div style="clear:both;"></div>

<div class="footer"> 
    	<span>
    	<p>学校地址：济宁市北湖新区荷花路16号 邮编：272067</p> 
        <p>版权所有 信息技术中心制作 鲁ICP备05001962号</p>
        </span> 
</div><!--footer end-->
</body>
</html>